package itheima.com.Standard;

import java.io.*;

public class OutputStreamReader_ {

    public static void main(String[] args) throws IOException {

        String filePath = "D:\\一条小团团\\demo1.txt";
        String charSet = "gbk";
        OutputStreamWriter ows = new OutputStreamWriter(new FileOutputStream(filePath), charSet);
        ows.write("hi ，系哦啊局赋能");
        ows.close();
        System.out.println("D:\\一条小团团========写入");

    }

}
